Piwik\Plugins\TwoFactorAuth\Controller S

Total Complexity 44
Dependencies 22
Dependents 0
Total lines 248
Lines of code 186
Logical lines of code 143
Comment lines 24
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
setupTwoFactorAuth()
B
38 15 67
loginTwoFactorAuth()
A
44 10 42
showRecoveryCodes()
A
49 9 28
disableTwoFactorAuth()
S
54 3 19
getTwoFaBarCodeSetupUrl()
S
65 2 9
__construct()
S
67 1 8
userSettings()
S
72 1 4
make2faSession()
S
80 1 3
onLoginSetupTwoFactorAuth()
S
79 1 3
getQRUrl()
S
77 1 3